From e210adc16d2b37f4c757d28862033157d0801dc2 Mon Sep 17 00:00:00 2001 From: parkrrrr Date: Thu, 31 Jul 2003 15:23:28 +0000 Subject: [PATCH] drip, drip, drip... fixed some memory leaks --- gpsbabel/arcdist.c | 1 - gpsbabel/polygon.c | 1 - 2 files changed, 2 deletions(-) diff --git a/gpsbabel/arcdist.c b/gpsbabel/arcdist.c index dc0cc8869..544072299 100644 --- a/gpsbabel/arcdist.c +++ b/gpsbabel/arcdist.c @@ -290,7 +290,6 @@ arcdist_process(void) if ((ed->distance >= pos_dist) == (exclopt == NULL)) { waypt_del(wp); waypt_free(wp); - continue; } xfree( ed ); } diff --git a/gpsbabel/polygon.c b/gpsbabel/polygon.c index 4393e6698..c4cd8e3fc 100644 --- a/gpsbabel/polygon.c +++ b/gpsbabel/polygon.c @@ -276,7 +276,6 @@ polygon_process(void) if (((ed->state & INSIDE) == OUTSIDE ) == (exclopt == NULL)) { waypt_del(wp); waypt_free(wp); - continue; } xfree( ed ); } -- 2.30.2